<?php
/**
 * @package Buffet
 * @subpackage Extensions
 */

/**
 * DevNotice class
 * 
 * {@internal Missing Long Description }}
 * 
 * @access	public
 * @since	0.5.2
 */
class DevNotice extends BF_Extension {
	const ID			= 'DevNotice';
	const NAME			= 'Notice to Theme Developers';
	const DESCRIPTION	= 'This is a test extension. If enabled, it displays a notice about this theme at the top of the theme option page.';
	
	function load() {
		add_action( 'bf_above_admin_content', array($this, 'call_notice') );
	}
	
	function call_notice() {
		echo '
			<div class="updated">
				<p><strong>Welcome to the Buffet Framework!</strong></p>
				<p>If you are intending to customize this theme by editing the template files, I recommend that you create a child theme and customise from it.</p>
				<p>For more information about Theme Frameworks, check out the <a href="http://codex.wordpress.org/Theme_Frameworks">WordPress Codex</a>.</p>
				<p>You can disable this notice from the <strong>Extensions</strong> page.</p>
			</div>
		';
	}
}

/* End of file HelloWorld.php */
/* Location: ./includes/extensions/HelloWorld.php */
